import { BaseController, CoolController } from "@cool-midway/core";
import { Inject } from "@midwayjs/core";
import { TransportScheduleService } from "../../service/schedule";
import { TransportScheduleEntity } from "../../entity/schedule";

@CoolController({
    api: ['info', 'list', 'page'],
    entity: TransportScheduleEntity,
    service: TransportScheduleService,
})
export class AppTransportScheduleController extends BaseController {
    @Inject()
    transportScheduleService: TransportScheduleService;
}